package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 秒杀商品通知订阅实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_seckill_sku_notice")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsSeckillSkuNoticeEntity对象", description = "秒杀商品通知订阅")
public class SmsSeckillSkuNoticeEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "member_id")
    @TableField("member_id")
        private Long memberId;

        @ApiModelProperty(value = "sku_id")
    @TableField("sku_id")
        private Long skuId;

        @ApiModelProperty(value = "活动场次id")
    @TableField("session_id")
        private Long sessionId;

        @ApiModelProperty(value = "订阅时间")
    @TableField("subcribe_time")
        private Date subcribeTime;

        @ApiModelProperty(value = "发送时间")
    @TableField("send_time")
        private Date sendTime;

        @ApiModelProperty(value = "通知方式[0-短信，1-邮件]")
    @TableField("notice_type")
        private Boolean noticeType;

        }